package com.weixing.mall.provider.model.enums;

import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;

;

/**
 * @Author wx
 * @Date 2019/9/27 10:02
 * @Version 1.0
 */

@NoArgsConstructor
public enum OrderOperatorRoleEnum implements IBaseEnum<Integer> {
    // 1 经销商  2 一级代理商 3 二级代理商 4 三级代理商
    TYPE1(1,"经销商"),
    TYPE2(2,"一级代理商"),
    TYPE3(3,"二级代理商"),
    TYPE4(4,"三级代理商");

    private int value;
    private String desp;

    OrderOperatorRoleEnum(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }
    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
